package com.sohu.peak.util;

public class ParseRet {
	static final int PICGROUP = 1;
	static final int CATEGORY = 2;		
	private int type;
	private Long id;
	public ParseRet() {
		this.type = ParseRet.PICGROUP;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public boolean isPicGroup(){
		return this.type == ParseRet.PICGROUP;
	}
	public boolean isCategory(){
		return this.type == ParseRet.CATEGORY;
	}
}
